

import 'package:flutter/material.dart';
import 'package:trade/theme/app_colors.dart';

final appTheme = AppTheme();
class AppTheme {

  ThemeData get darkThemeData {
    return ThemeData(
      //状态栏字体颜色
      primaryColorBrightness: Brightness.light,
      brightness: Brightness.dark,
      primarySwatch: appColors.primarySwatch,
      appBarTheme: AppBarTheme(backgroundColor: appColors.backgroundColor, elevation: 0),
      bottomNavigationBarTheme: BottomNavigationBarThemeData(
        backgroundColor: appColors.backgroundColor,
      ),
      // typography: Typography.material2014(platform: TargetPlatform.android),
      snackBarTheme: SnackBarThemeData(
        backgroundColor: appColors.backgroundColor
      ),
      canvasColor: appColors.chartBackgroundColor
    );
  }


}